package com.oceanread.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.oceanread.cn.entity.Pipeline;
import com.oceanread.cn.entity.Profile;

import java.util.List;

public interface IProfileService extends IService<Profile> {
    List<Profile> getall();
    Integer getnum();
    List<Profile> findall(int page,int size);
    List<Profile> query(int page, int size, String key, String value);
    List<Profile> queryNopage(String key, String value);
    List<Profile> queryNopage2(String key, String value,String key2, String value2);
    int insert(String PrjCode, String Code, String Name, String IDline, String Order, String Lat, String Lon);
    Integer update(Profile profile);
    Integer delete(int id);

    Integer getnumquery(String key, String value);

    List<Profile> getLine(String PrjCode);
    List<Profile> getPoint(String PrjCode,String IDline);
    List<Profile> getLine_Page(String PrjCode,int page, int size);
    Integer getLine_Num(String PrjCode);
    List<Profile> getPoint_Page(String PrjCode,String IDLine,int page, int size);
    Integer getPoint_Num(String PrjCode,String IDLine);
}
